import request  from '@/utils/request'

export const addZhiDu = data =>{
  return request({
    url:'/oa/rules/add',
    method: 'post',
    data
  })
}

//流程表
export const zhiDuList = query =>{
  return request({
    url: '/oa/rules/list',
    method: 'get',
    params: query,
  })
}
